<!DOCTYPE html>
<body></body>
<script>
const url_params = new URLSearchParams(location.search);
let link = document.createElement('a');
link.download = '';
link.href = url_params.get('download_url');
document.body.appendChild(link);
num_downloads = url_params.get('num_downloads');
let i;
for (i = 0; i < num_downloads; i++) {
  link.click();
}
</script>